Skip to content

Conversation

@cdprf
Copy link
Owner

@cdprf cdprf commented Oct 2, 2025

This commit completely refactors the CheckProxy application to be more performant, efficient, and user-friendly.

  • Replaced synchronous network calls with asynchronous operations throughout the application.
  • Implemented concurrent proxy checking using Task.WhenAll and a SemaphoreSlim to control parallelism, significantly speeding up batch processing from a file.
  • Replaced basic argument parsing with the System.CommandLine library, providing a robust CLI with support for single proxy checks, file inputs (--file), and configurable timeouts (--timeout).
  • Consolidated six redundant proxy check methods into three focused and reliable checks.
  • Removed the unused RestSharp dependency in favor of the modern HttpClient.
  • Added comprehensive XML documentation to the C# code for better maintainability.
  • Overhauled the README.md to provide accurate and detailed information, including build instructions and up-to-date usage examples.

This commit completely refactors the CheckProxy application to be more performant, efficient, and user-friendly.

- Replaced synchronous network calls with asynchronous operations throughout the application.
- Implemented concurrent proxy checking using `Task.WhenAll` and a `SemaphoreSlim` to control parallelism, significantly speeding up batch processing from a file.
- Replaced basic argument parsing with the `System.CommandLine` library, providing a robust CLI with support for single proxy checks, file inputs (`--file`), and configurable timeouts (`--timeout`).
- Consolidated six redundant proxy check methods into three focused and reliable checks.
- Removed the unused `RestSharp` dependency in favor of the modern `HttpClient`.
- Added comprehensive XML documentation to the C# code for better maintainability.
- Overhauled the `README.md` to provide accurate and detailed information, including build instructions and up-to-date usage examples.
@cdprf cdprf merged commit 4c86215 into master Oct 2, 2025
1 of 3 checks passed
@cdprf
Copy link
Owner Author

cdprf commented Oct 2, 2025

a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants